package com.lanqiao.entity;

import java.util.Date;

public class UserInfo {


    private int  user_id;
    private String  user_name; //用户名
    private String user_pwd;//用户密码
    private String user_head;//头像
    private String user_email;//邮箱
    private int  user_sex;//性别
    private String user_phone;//电话
    private String user_address;//详细地址
    private int  question_id;//密保问题id
    private String question_answer;//密保答案
    private int  is_activated;//0默认代表未激活   1代表激活
    private int is_online;//0代表默认离线   1代表上线
    private Date time;//注册时间
    private String time_zc;//注册时间(修改过)
    private String province_id;//省份码
    private String city_id;//市码
    private String area_id;//区码
    private String lat; //纬度，方便手机端可以查询附近的用户
    private String lng; //经度，方便手机端可以查询附近的用户

    @Override
    public String toString() {
        return "UserInfo{" +
                "user_id=" + user_id +
                ", user_name='" + user_name + '\'' +
                ", user_pwd='" + user_pwd + '\'' +
                ", user_head='" + user_head + '\'' +
                ", user_email='" + user_email + '\'' +
                ", user_sex=" + user_sex +
                ", user_phone='" + user_phone + '\'' +
                ", user_address='" + user_address + '\'' +
                ", question_id=" + question_id +
                ", question_answer='" + question_answer + '\'' +
                ", is_activated=" + is_activated +
                ", is_online=" + is_online +
                ", time=" + time +
                ", time_zc='" + time_zc + '\'' +
                ", province_id='" + province_id + '\'' +
                ", city_id='" + city_id + '\'' +
                ", area_id='" + area_id + '\'' +
                ", lat='" + lat + '\'' +
                ", lng='" + lng + '\'' +
                '}';
    }

    public String getQuestion_answer() {
        return question_answer;
    }

    public void setQuestion_answer(String question_answer) {
        this.question_answer = question_answer;
    }

    public int getIs_activated() {
        return is_activated;
    }

    public void setIs_activated(int is_activated) {
        this.is_activated = is_activated;
    }

    public int getIs_online() {
        return is_online;
    }

    public void setIs_online(int is_online) {
        this.is_online = is_online;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getTime_zc() {
        return time_zc;
    }

    public void setTime_zc(String time_zc) {
        this.time_zc = time_zc;
    }

    public String getProvince_id() {
        return province_id;
    }

    public void setProvince_id(String province_id) {
        this.province_id = province_id;
    }

    public String getCity_id() {
        return city_id;
    }

    public void setCity_id(String city_id) {
        this.city_id = city_id;
    }

    public String getArea_id() {
        return area_id;
    }

    public void setArea_id(String area_id) {
        this.area_id = area_id;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_pwd() {
        return user_pwd;
    }

    public void setUser_pwd(String user_pwd) {
        this.user_pwd = user_pwd;
    }

    public String getUser_head() {
        return user_head;
    }

    public String getUser_email() {
        return user_email;
    }

    public void setUser_email(String user_email) {
        this.user_email = user_email;
    }

    public int getUser_sex() {
        return user_sex;
    }

    public void setUser_sex(int user_sex) {
        this.user_sex = user_sex;
    }

    public String getUser_phone() {
        return user_phone;
    }

    public void setUser_phone(String user_phone) {
        this.user_phone = user_phone;
    }

    public String getUser_address() {
        return user_address;
    }

    public void setUser_address(String user_address) {
        this.user_address = user_address;
    }

    public int getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(int question_id) {
        this.question_id = question_id;
    }

    public void setUser_head(String user_head) {
        this.user_head = user_head;
    }
}
